<template>
	<vue-scroll :ops="ops" style="width:100%;height:100vh">
		<div id="app">
			<router-view v-wechat-title="$route.meta.title"></router-view>
		</div>
	</vue-scroll>

</template>

<script>
	export default {
		data() {
			return {
				ops: {
					vuescroll: {},
					scrollPanel: {},
					rail: {
						keepShow: true
					},
					bar: {
						hoverStyle: true,
						onlyShowBarOnScroll: false, //是否只有滚动的时候才显示滚动条
						background: "#D6D8DD", //滚动条颜色
						opacity: 0.9, //滚动条透明度
						"overflow-x": "hidden"
					}
				},
				userId: ''
			};
		},
		created() {
			
			
		},
		mounted() {
			if (!!window.ActiveXObject || "ActiveXObject" in window) {
				this.$router.replace('/compatibility')
			}
			try{
				let userInfo = this.$store.state.user.userInfo
				this.userId = userInfo.id
			}catch(e){
				//TODO handle the exception
				console.error(e)
			}
			
		},
		methods: {
			
		}
	};
</script>

<style>
	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		/* color: #454545; */
		font-family: Microsoft YaHei;
	}

	ul li {
		list-style-type: none;
	}
	a{
		text-decoration: none;
		color: #333333;
	}
	#app {
		width: 100%;
		min-height: 100vh;
		font-size: 14px;
		/* background: #E7E8EB; */
		/* min-width: 120rem; */
		overflow-y: hidden;
	}

	img,
	image {
		display: block;
	}

	.fade-enter-active,
	.fade-leave-active {
		transition: all .5s ;
		/* transform: translateX(0); */
	}

	.fade-enter,
	.fade-leave-to {
		/* margin-right: 100vw; */
		opacity: 0;
	}
	.fade-leave-to{
		transform: translateX(50px);
	}
	.fade-enter{
		transform: translateX(-50px);
	}

	.boxFlex {
		display: flex;
		justify-content: space-between;
		flex-wrap: nowrap;
	}

	.flex {
		display: flex;
		flex-wrap: nowrap;
	}

	.content {
		width: 100%;
		/* height: min-content; */
		min-height: 690px;
	}

	table th {
		color: #333333;
	}

	.el-table th>.cell,
	.el-table .cell {
		text-align: center;
	}

	table.el-table__header,
	table.el-table__body {
		width: auto !important;
	}

	.el-table__empty-block {
		width: 100% !important;
	}

	/* input.el-input__inner{
		height: 3.2rem !important;
		line-height: 3.2rem !important;
	}
	button.el-button,.el-table--small{
		font-size: 1.2rem !important;
	} */
	/deep/.__bar-is-vertical {
		right: -1px !important;
	}

	.__rail-is-vertical {
		z-index: 99999 !important;
	}

	/deep/.__bar-is-horizontal {
		display: none !important;
	}
	.deleteBtn{
		color: #F42929;
	}
	.equip .el-dialog__header{
		text-align: center !important;
	}
	.equip .el-dialog__body{
		padding-left: 0;
		padding-right: 0;
	}
	.el-breadcrumb__item .is-link{
		cursor: pointer !important;
		color: #23B14D !important;
	}
</style>
